package com.nine.system.service;

import com.nine.common.entity.ChangeForm;
import com.nine.common.entity.ChangeInfoVO;
import com.nine.common.entity.EngineerForm;
import com.nine.common.tool.ResponseResult;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @ClassName: EngineerService
 * @Author: luodeng
 * @Date: 2023/6/6 10:37
 * @Version: 1.0
 */
public interface EngineerService{




    ResponseResult getAll(int page,int limit);

    ResponseResult getOne(Long id);

    ResponseResult getSome( String engineerName,
                            String engineerProvince,
                            String engineerCity,
                            String engineerArea,
                            String engineerPhone,
                            int page,
                            int limit);
    ResponseResult updateEngineerIsEnabled(Long id, Integer isEnabled);

    ResponseResult changeInfo(ChangeInfoVO changeInfoVO);

    //根据前端传的token 识别当前用户，并将地区信息返回给前端
    ResponseResult getAddressByToken();

    ResponseResult getMyInfo();
}

